package com.xinxin.o2o.service.impl;

import com.xinxin.o2o.dto.HeadLineExecution;
import com.xinxin.o2o.mapper.HeadLineMapper;
import com.xinxin.o2o.model.HeadLine;
import com.xinxin.o2o.service.HeadLineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author ShiXinXin
 * @date 2019-09-16 0:30
 */
@Service
public class HeadLineServiceImpl implements HeadLineService {
    @Autowired
    private HeadLineMapper headLineMapper;

    @Override
    public List<HeadLine> getHeadLineList(HeadLine headLineCondition) {
        return headLineMapper.queryHeadLine(headLineCondition);
    }

    @Override
    public HeadLineExecution addHeadLine(HeadLine headLine, MultipartFile thumbnail) {
        return null;
    }

    @Override
    public HeadLineExecution modifyHeadLine(HeadLine headLine, MultipartFile thumbnail) {
        return null;
    }

    @Override
    public HeadLineExecution removeHeadLine(long headLineId) {
        return null;
    }

    @Override
    public HeadLineExecution removeHeadLineList(List<Long> headLineIdList) {
        return null;
    }
}
